Name | discord modal submitted |
Event Lines | discord modal submitted |
Triggers | when a Discord user submits a modal. |
Generated Examples | on discord modal submitted: |
Switches | for:<bot> to only process the event for a specified Discord bot.
channel:<channel_id> to only process the event when it occurs in a specified Discord channel. group:<group_id> to only process the event for a specified Discord group. name:<modal_name> to only process the event for a specified Discord modal. |
Contexts | <context.bot> returns the relevant DiscordBotTag.
<context.channel> returns the DiscordChannelTag.
<context.group> returns the DiscordGroupTag.
<context.interaction> returns the DiscordInteractionTag.
<context.name> returns the name of the modal.
<context.values> returns a MapTag of the values submitted by the user.
|
Group | Discord |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/events/DiscordModalSubmittedScriptEvent.java#L18 |